package com.iyjhsoc.game.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.iyjhsoc.game.domain.VO.GameRoleVO;
import com.iyjhsoc.game.domain.dto.GameRoleDTO;
import com.iyjhsoc.game.domain.entity.GameRoleDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface GameRoleDAO extends BaseMapper<GameRoleDO> {

    List<GameRoleDTO> queryList(GameRoleVO gameRoleVO);

    GameRoleDO selectByGameRoleName(@Param("name") String name,@Param("gameId") String gameId);
}
